//
//  GuidViewController.m
//  App
//
//  Created by gome on 2018/11/27.
//  Copyright © 2018 gome. All rights reserved.
//

#import "GuidViewController.h"
#import "AppManager.h"
NSString *keys = @"ABCDEFGHIJKLMNOPQRSTUVWXYZ012345";
#import "Base32.h"

@interface GuidViewController ()

@end

@implementation GuidViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}


/**
 登录按钮事件

 @param sender login button
 */
- (IBAction)clickLoginButton:(UIButton *)sender {
    [[AppManager sharedInstance] showLoginPage];
    
//    NSString *hello= @"hi, this is my book! it's yours? en, her book is in backPackage!";
//
//    NSString *list = @"ABCDEFGHI123JKLMNOPQRS456TUVWXYZ";
//
//    NSString *base32String = [Base32 enCodeBase32String:hello keyList:list];
//
//    NSLog(@"%@", base32String);
//
//    NSString *originString = [Base32 deCodeBase32String:base32String keyList:list];
//
//    NSLog(@"%@", originString);
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
